function uploadFile(){
    var formData = new FormData();
    formData.append("photo",$("#photo")[0].files[0]);
    $.ajax({
        url:'/demo02_userManage_war/file?service=upload', /*接口域名地址*/
        type:'post',
        data: formData,
        contentType: false,
        processData: false,
        success:function(res){
            console.log(res);
        }
    })
}

function downloadFile(){
    $.get("/demo02_userManage_war/file?service=download",function (){

    });
}